package com.audaque.encoding.service.impl;


import com.audaque.encoding.entity.CallbackDO;
import com.audaque.encoding.mapper.CallbackMapper;
import com.audaque.encoding.service.CallbackService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 文件赋码后的回调表 服务实现类
 * </p>
 *
 * @author mayong
 * @since 2024-04-03
 */
@Service
public class CallbackServiceImpl extends ServiceImpl<CallbackMapper, CallbackDO> implements CallbackService {

    @Resource
    CallbackMapper callbackMapper;

    @Override
    public void updateStatus(String srcFileId, String errMsg) {
        callbackMapper.updateStatus(srcFileId, errMsg);
    }
}
